#ifndef PRODUCTFILTER_H
#define PRODUCTFILTER_H

#include <vector>
#include "filter.h"

class FileFilter : public Filter {
public:
    FileFilter(const std::vector<std::wstring> &productNameList, const std::vector<std::wstring> &appNamePatternList)
        : trustedProductNameList(productNameList), trustedAppNamePatternList(appNamePatternList)
    {}

    ~FileFilter() override = default;

    bool Handle(const ProcessInfo &process) override;

    void Update() override;

private:
    std::vector<std::wstring> trustedProductNameList;

    std::vector<std::wstring> trustedAppNamePatternList;
};
#endif
